﻿using System;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        blogUrl.Focus();
    }
    protected void go_Click(object sender, EventArgs e)
    {
        metaUrl.Visible = true;
        if (blogUrl.Text.IndexOf("http://") != 0)
            blogUrl.Text = "http://" + blogUrl.Text;
        metaUrl.NavigateUrl = "http://" + Request.Url.Authority + ResolveUrl("~/Metajogger.ashx") +
                              string.Format("?BlogUrl={0}&BlogId={1}", blogUrl.Text, blogId.Text);
        metaUrl.Text = metaUrl.NavigateUrl;
    }
}
